<!--* Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.** This program and the accompanying materials are made available under the* terms of the Eclipse Public License v1.0 which accompanies this distribution,* and is available at http://www.eclipse.org/legal/epl-v10.html--><div class="ng-scope" style="height:51px; background-color:#05171e;">    <ul class="nav nav-pills ng-scope" style="padding-top: 12px;">        <!-- <li class="active"><a href="" data-toggle="pill" ng-click="toggle('eline')">Elines</a></li> -->        <li class="active"><a href="" data-toggle="pill" ng-click="toggle('eline')">Eline</a></li>        <li><a href="" data-toggle="pill" ng-click="toggle('tunnel')">Tunnel</a></li>    </ul></div><div class="tab-content">    <div ng-show="elineshow">        <div class="container-fluid">            <div ng-repeat="eline in elines" id="elineIndex{{$index}}">                <div class="row itemlist" style="height:35px;">                    <span class="col-md-1">                    <label class="blue pull-right"></label>                    </span>                    <label class="name col-md-2">{{ 'Name' | translate }}:<span class="value">{{eline.name}}</span></label>                    <label class="name col-md-2">{{ 'User Label' | translate }}:<span class="value">{{eline['user-label']}}</span></label>                    <label class="name col-md-2">{{ 'Operate Status' | translate }}:<span class="value">{{eline['operate-status'].split('-')[1]}}</span></label>                    <span class="col-md-5">                        <button class="tunnelButton closeIcon pull-right" ng-click="removeEline(eline.id,$index)"></button>                        <button class="tunnelButton expandIconArrowDown pull-right" id="btn-eline{{$index}}" ng-click="toggleExpand('eline'+$index,1,eline.id)"></button>                        <button class="btn btn-default" style="border:1px solid #999999;margin-top:1px;font-size:12px" ng-click="showEditLB2($index)" ng-show="setLBShow2($index)">LB</button>&nbsp;                        <!--<button class="btn btn-default" ng-click="enableY1564($index)">使能y1564</button>-->                        <select class="form-control selectDiv2" style="height:26px;width:115px;border:1px solid #999999;padding-top:1px;margin-top:2px" ng-model="enablePro" ng-init="enablePro='0'" ng-change="changeY1564Pro(enablePro,$index)">                            <option value="0">使能y1564</option>                            <option value="1" ng-show="yPmShow{{$index}}">全部</option>                            <option value="2" ng-show="yPmShow{{$index}}">配置</option>                            <option value="3">性能</option>                        </select>&nbsp;                        <!--<button class="btn btn-default" ng-click="stopY1564($index)">停止测试</button>-->                        <button class="btn btn-default" style="border:1px solid #999999;margin-top:1px;font-size:12px" ng-click="showY1564Result($index)">查看测试结果</button>                    </span>                </div>                <div class="collapse" id="eline{{$index}}">                    <div class="row">                        <label class="col-md-1"></label>                        <label class="name col-md-3">ID:<span class="value">{{eline.id}}</span></label>                        <label class="name col-md-3">{{ 'Admin Status' | translate }}:<span class="value">{{eline['admin-status'].split('-')[1]}}</span></label>                    </div>                    <div>                        <!--Ingress qos start-->                        <div ng-repeat="iep in eline['ingress-end-points']">                            <div>                                <div class="row">                                    <span class="col-md-1"><span class="yellow pull-right"></span></span>                                    <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>{{ 'Ingress End Points' | translate }}</label> </span>                                    <!-- button ng-click="addAzQos($index)" ng-show="isAddAzVisiable{{$index}}">AddAzQos</button -->                                </div>                                <div class="row">                                    <label class="col-md-1"></label>                                    <label class="name col-md-3">{{ 'User Label' | translate }}:<span class="value">{{iep['user-label']}}</span></label>                                    <label class="name col-md-3">{{ 'Dot1q Vlan Bitmap' | translate }}:<span class="value">{{iep['dot1q-vlan-bitmap']}}</span></label>                                    <label class="name col-md-3">{{ 'Ltp UserLabel' | translate }}:<span class="value">{{iep['ltp-userlabel']}}</span></label>                                </div>                                <div ng-show="azShow{{$index}}">                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="col-md-1 htext">QOS</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">CIR:<span class="value" id="a2z-cir">{{eline.pw[$index].qos['qos-a2z-cir']}}</span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">CBS:<span class="value" id="a2z-cbs">{{eline.pw[$index].qos['qos-a2z-cbs']}}</span>&nbsp;&nbsp;Bytes</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">PIR:<span class="value" id="a2z-pir">{{eline.pw[$index].qos['qos-a2z-pir']}}</span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">PBS:<span class="value" id="a2z-pbs">{{eline.pw[$index].qos['qos-a2z-pbs']}}</span>&nbsp;&nbsp;Bytes</label>                                    </div>                                </div>                                <div ng-show="azEdit{{$index}}">                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="col-md-1 htext">QOS</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">CIR:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-a2z-cir']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-a2z-cir']"/></span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">CBS:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-a2z-cbs']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-a2z-cbs']"/></span>&nbsp;&nbsp;Bytes</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">PIR:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-a2z-pir']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-a2z-pir']"/></span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">PBS:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-a2z-pbs']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-a2z-pbs']"/></span>&nbsp;&nbsp;Bytes</label>                                        <!-- label class="name col-md-1"><span><button class="btn btn-default" ng-click="updateAzQos($index)">Confirm</button></span></label> -->                                    </div>                                </div>                            </div>                        </div>                        <!--Ingress qos end-->                    </div>                    <div>                        <!--Egress qos start-->                        <div ng-repeat="eep in eline['egress-end-points']">                            <div>                                <div class="row">                                    <span class="col-md-1"><span class="yellow pull-right"></span></span>                                    <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>{{ 'Egress End Points' | translate }}</label> <button                                            ng-click="addZaQos($index)" style="float: right;"                                            ng-show="isAddZaVisiable{{$index}}">Add Qos</button>                                    </span>                                </div>                                <div class="row">                                    <label class="col-md-1"></label>                                    <label class="name col-md-3">{{ 'User Label' | translate }}:<span class="value">{{eep['user-label']}}</span></label>                                    <label class="name col-md-3">{{ 'Dot1q Vlan Bitmap' | translate }}:<span class="value">{{eep['dot1q-vlan-bitmap']}}</span></label>                                    <label class="name col-md-3">{{ 'Ltp UserLabel' | translate }}:<span class="value">{{eep['ltp-userlabel']}}</span></label>                                </div>                                <div ng-show="zaShow{{$index}}">                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="col-md-1 htext">QOS</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">CIR:<span class="value" id="z2a-cir">{{eline.pw[$index].qos['qos-z2a-cir']}}</span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">CBS:<span class="value" id="z2a-cbs">{{eline.pw[$index].qos['qos-z2a-cbs']}}</span>&nbsp;&nbsp;Bytes</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">PIR:<span class="value" id="z2a-pir">{{eline.pw[$index].qos['qos-z2a-pir']}}</span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">PBS:<span class="value" id="z2a-pbs">{{eline.pw[$index].qos['qos-z2a-pbs']}}</span>&nbsp;&nbsp;Bytes</label>                                    </div>                                    <div class="row">                                        <label class="col-md-8"></label>                                        <button class="btn btn-default col-md-1 col-md-offset-1" ng-click="changeZaQos($parent.$index,$index)" margin-left=100px>{{ 'Update' | translate }}                                        </button>                                        <button class="btn btn-default col-md-1" ng-click="removeQos($parent.$index,$index)">{{ 'DeleteQos' | translate }}                                        </button>                                    </div>                                </div>                                <div ng-show="zaEdit{{$index}}">                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="col-md-1 htext">QOS</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">CIR:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-z2a-cir']}} "                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-z2a-cir']"/></span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">CBS:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-z2a-cbs']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-z2a-cbs']"/></span>&nbsp;&nbsp;Bytes</label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">PIR:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-z2a-pir']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-z2a-pir']"/></span>&nbsp;&nbsp;kbps</label>                                        <label class="name col-md-3">PBS:<span><input type="number"                                                                                      value="{{eline.pw[$index].qos['qos-z2a-pbs']}}"                                                                                      min="0"                                                                                      ng-model="eline.pw[$index].qos['qos-z2a-pbs']"/></span>&nbsp;&nbsp;Bytes</label>                                        <label class="name col-md-1"><span><button class="btn btn-default"                                                                                   ng-click="updateZaQos($parent.$index,$index)">{{ 'Confirm' | translate }}</button></span></label>                                    </div>                                </div>                            </div>                        </div>                        <!--Egress qos end-->                    </div>                    <!--eline PROTECTION start-->                    <!-- 深绿 #006030   普绿    #00BB00  翠绿 #7AFEC6  普红     #FF0000           http://192.168.1.100:8181/restconf/operations/sal-netconf:protection-status -->                    <div>                        <div class="row">                            <span class="col-md-1"><span class="yellow pull-right"></span></span>                            <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>{{ 'Protection' | translate }}</label></span>                        </div>                        <!-- protection -->                        <div class="row">                            <label class="name col-md-1"></label>                            <label class="name col-md-3">{{ 'Linear protection type' | translate }}:<span class="value">{{eline['protection']['linear-protection-type']}}</span></label>                            <label class="name col-md-3">{{ 'Linear Protection Protocol' | translate }}:<span class="value">{{eline['protection']['linear-protection-protocol']}}</span></label>                            <label class="name col-md-3">{{ 'Revertive Mode' | translate }}:<span class="value">{{eline['protection']['revertive-mode']}}</span></label>                        </div>                        <div class="row">                            <label class="name col-md-1"></label>                            <label class="name col-md-3">WTR:<span class="value">{{eline['protection']['wtr']}}</span></label>                        </div>                    </div>                    <!--eline PROTECTION start-->                    <!--   <button  id="btn-eline{{$index}}" ng-click="getprotectstate($index)"> 保护状态</button>-->                    <!--  <div class="row">                         <label class="col-md-1"></label>                         <label class="name col-md-3">{{ 'master' | translate }}:<span class="value">{{eline['master']}}</span></label>                         <label class="name col-md-3">{{ 'result' | translate }}:<span class="value">{{eline['result']}}</span></label>                         <label class="name col-md-3">{{ 'slave' | translate }}:<span class="value">{{eline['salve']}}</span></label>                     </div> -->                    <div class="row" ng-show="!eline['salve']">                        <label class="col-md-1"></label>                        <table>                            <tr>                                <td>                                    <label class="name">&nbsp;&nbsp;&nbsp;&nbsp;{{ 'Ps Command Type' | translate }}:</label>                                </td>                                <td>                                    <select class="col-md-12" ng-model="eline['ps-command-type']" ng-init="eline['ps-command-type']='noCmd'" style="font-size:12px">                                        <option value="forcedSwitchWorkToProtect">{{ 'forcedSwitchWorkToProtect' | translate }}                                        </option>                                        <option value="clear">{{ 'clear' | translate }}</option>                                    </select>                                </td>                                <td align="left">                                    &nbsp;&nbsp;                                    <button class="btn btn-warning btn-xs" ng-click="forcedProtect('eline',$index,eline.id)">{{ 'Forced Protect' | translate }}</button>                                </td>                            </tr>                        </table>                    </div>                    <!--pw-->                    <div ng-repeat="pw in eline.pw" class="container-fluid">                        <div class="row">                            <span class="col-md-1">                                <span class="yellow pull-right"></span>                            </span>                            <h4 class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>PW</label></h4>                            <span class="col-md-1">                                <button class="tunnelButton iconOpen pull-right" id="btn-pw{{$parent.$index+''+$index}}"                                        ng-click="toggleExpand('pw'+$parent.$index+$index,2)"></button>                            </span>                        </div>                        <div class="row">                            <label class="col-md-1"></label>                            <label class="name col-md-3">ID:<span class="value">{{pw.id}}</span></label>                            <label class="name col-md-3">{{ 'Name' | translate }}:<span class="value">{{pw.name}}</span></label>                            <label class="name col-md-3">{{ 'Pw Role' | translate }}:<span class="value">{{pw['role']}}</span></label>                        </div>                        <div class="collapse" id="pw{{$parent.$index+''+$index}}">                            <div class="row">                                <label class="col-md-1"></label>                                <label class="name col-md-3">{{ 'Ingress NE UserLabel' | translate }}:<span class="value">{{pw['ingress-ne-userlabel']}}</span></label>                                <label class="name col-md-3">{{ 'Egress NE UserLabel' | translate }}:<span class="value">{{pw['egress-ne-userlabel']}}</span></label>                                <label class="name col-md-3">{{ 'tunnel ID' | translate }}:<span class="value" ng-repeat="id in pw['tunnel-ids']">{{id['tunnel-id']}}</span></label>                            </div>                            <div class="collapse" id="pw{{$parent.$index+''+$index}}">                                <label class="name col-md-3">{{ 'Work Status' | translate }}:<span class="value">{{pw['work-status']}}</span></label>                            </div>                            <!--eline OAM start-->                            <!--oam-->                            <!-- http://192.168.1.100:8181/restconf/operations/sal-netconf:oam-status -->                            <div class="row">                                <span class="col-md-1">                                    <span class="cyan pull-right"></span>                                </span>                                <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>OAM</label></span>                                <span class="col-md-1"></span>                            </div>                            <div class="row">                                <label class="name col-md-1"></label>                                <label class="name col-md-3">CC Exp:<span class="value">{{pw['oam']['cc-exp']}}</span></label>                                <label class="name col-md-3">{{ 'CC Interval' | translate }}:<span class="value">{{pw['oam']['cc-interval']}}</span></label>                                <label class="name col-md-3">DM:<span class="value">{{pw['oam']['dm-mode']}}</span></label>                            </div>                            <div class="row">                                <label class="name col-md-1"></label>                                <label class="name col-md-3"> LM:<span class="value">{{pw['oam']['lm-mode']}}</span></label>                                <label class="name col-md-3">                                    <button class="btn btn-warning btn-sm" ng-click="lmdmsend(eline.id,'lm-start')">lmstart</button>                                    &nbsp;&nbsp;                                    <button class="btn btn-warning btn-sm" ng-click="lmdmsend(eline.id,'lm-stop')">lmstop</button>                                </label>                                <label class="name col-md-3">                                    <button class="btn btn-warning btn-sm" ng-click="lmdmsend(eline.id,'dm-start')">dmstart</button>                                    &nbsp;&nbsp;                                    <button class="btn btn-warning btn-sm" ng-click="lmdmsend(eline.id,'dm-stop')">dmstop</button>                                </label>                            </div>                            <!--eline OAM end-->                            <!--eline XC start-->                            <div ng-repeat="xc in pw.route[0].xc" class="container-fluid">                                <div class="row">                                    <span class="col-md-1">                                        <span class="cyan pull-right"></span>                                    </span>                                    <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>XC</label></span>                                    <span class="col-md-1">                                        <button class="tunnelButton iconOpen pull-right"                                                id="btn-xc{{$parent.$parent.$index+''+$parent.$index+''+$index}}"                                                ng-click="toggleExpand('xc'+$parent.$parent.$index+$parent.$index+$index,2)"></button>                                    </span>                                </div>                                <div class="row">                                    <label class="col-md-1 htext"> </label>                                    <label class="name col-md-3">{{ 'NE UserLabel' | translate }}:<span class="value">{{xc['ne-userlabel']}}</span></label>                                    <label class="name col-md-3">{{ 'Ingress Port' | translate }}:<span class="value">{{xc['ingress-ltp-userlabel']}}</span></label>                                    <label class="name col-md-3">{{ 'Egress Port' | translate }}:<span class="value">{{xc['egress-ltp-userlabel']}}</span></label>                                </div>                                <div class="collapse" id="xc{{$parent.$parent.$index+''+$parent.$index+''+$index}}">                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">{{ 'Backward In Label' | translate }}:<span class="value">{{xc['backward-in-label']}}</span></label>                                        <label class="name col-md-3">{{ 'Backward Out Label' | translate }}:<span class="value">{{xc['backward-out-label']}}</span></label>                                    </div>                                    <div class="row">                                        <label class="col-md-1"></label>                                        <label class="name col-md-3">{{ 'Forward In Label' | translate }}:<span class="value">{{xc['forward-in-label']}}</span></label>                                        <label class="name col-md-3">{{ 'Forward Out Label' | translate }}:<span class="value">{{xc['forward-out-label']}}</span></label>                                    </div>                                </div>                            </div>                        </div>                    </div>                </div>                <!--eline lb start-->                <div id="tunnelLb2{{$index}}" class="collapse" ng-model="lb2[$index]">                    <form class="form-group" name="lbform2">                        <div class="row">                            <span class="col-md-1">                                <span class="yellow pull-right"></span>                            </span>                            <span class="col-md-10 htext" style="border-bottom:solid 1px #000;"><label style="color:black">LB</label></span>                        </div>                        <div class="row" style="margin-top:10px;">                            <label class="col-md-2 textLabel">{{ 'Source' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-disabled="canEdit2{{$index}}" ng-model="lb2[$index]['ne-id']" required>                                <option value="{{eline.pw[0]['ingress-ne-id']}}" selected="selected">{{ 'ingress' | translate }}</option>                                <option value="{{eline.pw[0]['egress-ne-id']}}">{{ 'egress' | translate }}</option>                            </select>                            <label class="errorlabel col-md-2"></label>                            <label class="name col-md-2 textLabel">{{ 'Destination Type' | translate }}:</label>                            <input class="col-md-2 form-control inputText" type="text" value="Mep" readonly="true" />                        </div>                        <div class="row">                            <label class="name col-md-2 textLabel">{{ 'Number Of Packets' | translate }}:</label>                            <input class="col-md-2 form-control inputText" type="number" min="1" ng-disabled="canEdit2{{$index}}" ng-blur="nopchange2=true" ng-focus="nopchange2=false" ng-focusplaceholder="1" ng-model="lb2[$index].nbrOfPkt" ng-pattern="/^[0-9]*[1-9][0-9]*$/" name="nop2" required/>                            <label class="errorlabel col-md-2"></label>                            <label class="col-md-2 textLabel">{{ 'Packet Length' | translate }}:</label>                            <input class="col-md-2 form-control inputText" type="number" ng-disabled="canEdit2" ng-blur="plchange2=true" ng-focus="plchange2=false" placeholder="64" min="100" ng-model="lb2[$index].pktLength" ng-pattern="/^[0-9]*[1-9][0-9]*$/" name="pl2" required/>                        </div>                        <div class="row">                            <span class="col-md-1"></span>                            <span class="col-md-4 error" style="margin-left:4.5em" ng-show="lbform2.nop2.$invalid && nopchange2">{{ 'Number Of Packets:must be number and bigger than 0' | translate }}</span>                            <span class="col-md-1"></span>                            <span class="col-md-4 error" style="margin-left:1em" ng-show="lbform2.pl2.$invalid && plchange2">{{ 'Packet Length:must be number and bigger than 0' | translate }}</span>                        </div>                        <div class="row">                            <label class="col-md-2 textLabel">{{ 'Period' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-disabled="canEdit2{{$index}}" ng-model="lb2[$index].period" required>                                <option value="1 SEC" selected="selected">1 SEC</option>                                <option value="10 SEC">10 SEC</option>                                <option value="1 MIN">1 MIN</option>                                <option value="10 MIN">10 MIN</option>                            </select>                            <label class="errorlabel col-md-2"></label>                            <label class="col-md-2 textLabel">{{ 'Base PW' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="lb2[$index].pwType" required>                                <option value="work" selected="selected">{{ 'Work PW' | translate }}</option>                                <option value="protection">{{ 'Protection PW' | translate }}</option>                            </select>                        </div>                        <div class="row">                            <label class="col-md-2 textLabel">{{ 'Test TLV' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-disabled="canEdit2{{$index}}" ng-change="tlvPresentChange2(lb2[$index].testTlvPresent)" ng-model="lb2[$index].testTlvPresent" required>                                <option value="true">{{ 'true' | translate }}</option>                                <option value="false" selected="selected">{{ 'false' | translate }}</option>                            </select>                            <label class="errorlabel col-md-2"></label>                            <label class="col-md-2 textLabel">{{ 'Test TLV Type' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-disabled="canTLVEdit2{{$index}}" ng-model="lb2[$index].testTlvType">                                <option value="Null signal - all zero without CRC-32" selected="selected">{{ 'Null signal - all zero without CRC-32' | translate }}</option>                                <option value="Null signal - all zero with CRC-32">{{ 'Null signal - all zero with CRC-32' | translate }}</option>                                <option value="PRBS 2power31-1 without CRC-32">{{ 'PRBS 2power31-1 without CRC-32' | translate }}</option>                                <option value="PRBS 2power31-1 with CRC-32">{{ 'PRBS 2power31-1 with CRC-32' | translate }}</option>                            </select>                        </div>                        <div class="row">                            <label class="col-md-8"></label>                            <button class="btn btn-default col-md-1 col-md-offset-1" ng-click="startLb2($index)" ng-disabled="startEnable2{{$index}} || lbform.$invalid || lbform1.$invalid || lbform2.$invalid || (lb2[$index].testTlvPresent=='true' && lb2[$index].testTLVType=='')" disabled="disabled">{{ 'Start' | translate }}</button>                            <label>&nbsp;&nbsp;&nbsp;&nbsp;</label>                            <button class="btn btn-default col-md-1" id="enabledEnd2{{$index}}" ng-click="endLb2($index)" ng-show="enabledEnd2{{$index}}">{{ 'Stop' | translate }}</button>                        </div>                    </form>                    <!--Eline LB Result-->                    <div ng-show="showResult2{{$index}}">                        <form class="form-group" name="lbform">                            <div class="row">                                <span class="col-md-1"></span>                                <span class="col-md-9 htext" style="border-bottom:solid 1px #ddd;"><label style="color:black">{{ 'LB-Result' | translate }}</label></span>                            </div>                            <div class="row">                                <span class="col-md-2"></span>                                <label class="name col-md-3" style="color:black">{{ 'lb-resultOK' | translate }}:</label>                                <label class="name col-md-2"><span class="value">{{lbresult2[$index]['lb-resultOK']}}</span></label>                                <label class="name col-md-3" style="color:black">{{ 'lb-nbrOfLbrIn' | translate }}:</label>                                <label class="name col-md-2"><span class="value">{{lbresult2[$index]['lb-nbrOfLbrIn']}}</span></label>                            </div>                            <div class="row">                                <span class="col-md-2"></span>                                <label class="name col-md-3" style="color:black">{{ 'lb-nbrOfLbrInOutOfOrder' | translate }}:</label>                                <label class="name col-md-2"><span class="value">{{lbresult2[$index]['lb-nbrOfLbrInOutOfOrder']}}</span></label>                                <label class="name col-md-3" style="color:black">{{ 'lb-nbrOfLbrBadMsdu' | translate }}:</label>                                <label class="name col-md-2"><span class="value">{{lbresult2[$index]['lb-nbrOfLbrBadMsdu']}}</span></label>                            </div>                            <div class="row">                                <label class="col-md-8"></label>                                <button class="btn btn-default col-md-1 col-md-offset-1" ng-click="DelLBResult2($index)">{{ 'Remove' | translate }}</button>                            </div>                        </form>                    </div>                </div>                <!--eline lb end-->                <!--y1564 start-->                <div id="y1564Show{{$index}}" ng-show="y1564FormShow{{$index}}">                    <form class="form-group" name="y1564form2">                        <!--                        <div class="row">                            <span class="col-md-1">                            <span class="yellow pull-right"></span>                            </span>                            <span class="col-md-10 htext" style="border-bottom:solid 1px #000;">{{ 'y1564' | translate }}</span>                        </div>                        <div class="row">                            <label class="col-md-2 textLabel">请选择使能项目</label>                            <select class="col-md-2 form-control selectDiv" ng-model="enablePro" ng-init="enablePro='0'" ng-change="changeY1564Pro(enablePro,$index)">                                <option value="0">请选择</option>                                <option value="1">全部</option>                                <option value="2">配置</option>                                <option value="3">性能</option>                            </select>                        </div>                        -->                        <!-- y1564 test start-->                            <!--config test start-->                            <div ng-show="configTestShow{{$index}}">                                <div class="row">                                    <span class="col-md-1">                                    <span class="cyan pull-right"></span>                                    </span>                                        <span class="htext col-md-9" style="border-bottom:solid 1px #000;">{{ 'Config Test' | translate }}</span>                                        <span class="col-md-2">                                    </span>                                    <!--                                    <button type="button" class="tunnelButton expandIconArrowDown pull-right"                                            ng-click="expandConfigTest($index)" style="margin-right: 16px;"></button>                                    -->                                </div>                                <!-- <label class="col-md-2 textLabel">{{ 'Config Test' | translate }}</label> -->                                <!--配置测试 start-->                                <div class="row">                                    <label class="col-md-2 textLabel">测试步长</label>                                    <input type="number" class="col-md-2 form-control inputText"                                           ng-model="y1564.cfg.period" min="0" ng-init="y1564.cfg.period=30">                                    <label class="errorlabel col-md-2"><span                                            style="color:grey;font-size:xx-small;font-weight:500;">s</span></label>                                    <label class="col-md-2 textLabel">模式</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="y1564.cfg.mode"                                            ng-init="y1564.cfg.mode='overload'">                                        <option value="overload">overload</option>                                        <option value="cir">cir</option>                                        <option value="eir">eir</option>                                    </select>                                </div>                                <div class="row">                                    <label class="col-md-2 textLabel">报文模式</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="y1564.cfg.pktsizepattern" ng-init="y1564.cfg.pktsizepattern='fixed'">                                        <option value="fixed">固定帧长</option>                                        <option value="random">可变帧长</option>                                    </select>                                    <label class="errorlabel col-md-2"></label>                                    <label class="col-md-2 textLabel">cir步数</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="y1564.cfg.step" ng-init="y1564.cfg.step='4'">                                        <option value="1">1</option>                                        <option value="2">2</option>                                        <option value="3">3</option>                                        <option value="4">4</option>                                    </select>                                </div>                                <div class="row">                                    <label class="col-md-2 textLabel" ng-show="y1564.cfg.pktsizepattern==='fixed'">报文长度</label>                                    <label class="col-md-2 textLabel" ng-show="y1564.cfg.pktsizepattern==='random'">最大报文长度</label>                                    <input type="number" class="col-md-2 form-control inputText"                                           ng-model="y1564.cfg.pktsize" min="64" max="9600" ng-init="y1564.cfg.pktsize=9600">                                    <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span></label>                                    <label class="col-md-2 textLabel">是否立即开启</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="y1564.cfg.start"                                            ng-init="y1564.cfg.start='true'">                                        <option value="true">是</option>                                        <option value="false">否</option>                                    </select>                                </div>                                <div class="row">                                    <label class="col-md-2 textLabel">环回设备mac</label>                                    <input type="text" class="col-md-2 form-control inputText" ng-model="y1564.cfg.destmac" name="cfgmac" ng-pattern="/^[A-F0-9]{2}(:[A-F0-9]{2}){5}$/">                                    <label class="col-md-2" style="margin-top: 7px;"><span class="error" ng-show="y1564form2.cfgmac.$invalid && !y1564form2.cfgmac.$pristine">请输入正确的mac地址</span></label>                                </div>                                <!--配置测试 end-->                            </div>                            <!--config test end-->                            <br/>                            <!--pm test start-->                            <div ng-show="pmTestShow{{$index}}">                                <div class="row">                                    <span class="col-md-1">                                    <span class="cyan pull-right"></span>                                    </span>                                        <span class="htext col-md-9" style="border-bottom:solid 1px #000;">{{ 'Performance Test' | translate }}</span>                                        <span class="col-md-2"></span>                                        <!--                                        <button type="button" class="tunnelButton expandIconArrowDown pull-right"                                                ng-click="expandPmTest($index)" style="margin-right: 16px;"></button>                                        -->                                </div>                                <!--性能测试 start-->                                <div class="row">                                    <label class="col-md-2 textLabel">测试时长</label>                                    <input type="text" class="col-md-2 form-control inputText"                                           ng-model="y1564.pm.life" ng-init="y1564.pm.life='无限'">                                    <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">h</span></label>                                    <label class="col-md-2 textLabel">带宽</label>                                    <input type="number" class="col-md-2 form-control inputText"                                           ng-model="y1564.pm.bandwidth" min="1" max="1024" value="{{pmBandwidth}}">                                    <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">Mbps</span></label>                                </div>                                <div class="row">                                    <label class="col-md-2 textLabel">报文模式</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="y1564.pm.pktsizepattern" ng-init="y1564.pm.pktsizepattern='fixed'">                                        <option value="fixed">固定帧长</option>                                        <option value="random">可变帧长</option>                                    </select>                                    <label class="errorlabel col-md-2"></label>                                    <label class="col-md-2 textLabel">环回设备mac</label>                                    <input type="text" class="col-md-2 form-control inputText" ng-model="y1564.pm.destmac" name="pmmac" ng-pattern="/^[A-F0-9]{2}(:[A-F0-9]{2}){5}$/">                                    <label class="col-md-2" style="margin-top: 7px;"><span class="error" ng-show="y1564form2.pmmac.$invalid && !y1564form2.pmmac.$pristine">请输入正确的mac地址</span></label>                                </div>                                <div class="row">                                    <label class="col-md-2 textLabel" ng-show="y1564.pm.pktsizepattern==='fixed'">报文长度</label>                                    <label class="col-md-2 textLabel" ng-show="y1564.pm.pktsizepattern==='random'">最大报文长度</label>                                    <input type="number" class="col-md-2 form-control inputText" ng-model="y1564.pm.pktsize" min="64" max="9600" ng-init="y1564.pm.pktsize=9600">                                    <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span></label>                                    <label class="col-md-2 textLabel">是否立即开启</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="y1564.pm.start" ng-init="y1564.pm.start='true'">                                        <option value="true">是</option>                                        <option value="false">否</option>                                    </select>                                </div>                                <!--性能测试 end-->                            </div>                            <!--pm test end-->                            <br>                            <div class="row" ng-show="y1564FormShow{{$index}} && (configTestShow{{$index}} || pmTestShow{{$index}})">                                <label class="col-md-9"></label>                                <button type="reset">取消</button>                                <button ng-click="createY1564($index, y1564)">确定</button>                            </div>                            <!-- y1564 test end-->                    </form>                </div>                <!--y1564 end-->            </div>        </div>        <button class="btn btn-default pull-right" ng-click="createEline()" style="background-color:orange">{{ 'add' | translate }}</button>    </div>    <div ng-show="tunnelshow">        <div class="container-fluid">            <div ng-repeat="tunnel in tunnels" id="tunnelIndex{{$index}}">                <div>                    <div class="row itemlist" style="height:35px;">                        <span class="col-md-1">                            <label class="blue pull-right"></label>                        </span>                        <label class="name col-md-3">{{ 'Name' | translate }}:<span class="value">{{tunnel.name}}</span></label>                        <label class="name col-md-3">{{ 'User Label' | translate }}:<span class="value">{{tunnel['user-label']}}</span></label>                        <label class="name col-md-3">{{ 'Operate Status' | translate }}:<span class="value">{{tunnel['operate-status'].split('-')[1]}}</span></label>                        <span class="col-md-2">                              <button class="tunnelButton closeIcon pull-right"                                      ng-click="removeTunnel(tunnel.name,tunnel.id,$index)"></button>                              <button class="tunnelButton expandIconArrowDown pull-right" id="btn-tunnel{{$index}}"                                      ng-click="toggleExpand('tunnel'+$index,1,tunnel.id)"></button>                              <button class="btn btn-default" ng-click="showEditLB($index)" ng-show="setLBShow($index)">LB</button>                        </span>                    </div>                    <div class="collapse" id="tunnel{{$index}}">                        <div class="row">                            <label class="col-md-1"></label>                            <label class="name col-md-3">ID:<span class="value">{{tunnel.id}}</span></label>                            <label class="name col-md-3">{{ 'Admin Status' | translate }}:<span class="value">{{tunnel['admin-status'].split('-')[1]}}</span></label>                            <label class="name col-md-3">{{ 'Tunnel Type' | translate }}:<span class="value">{{tunnel['tunnel-type']}}</span></label>                        </div>                        <div class="row">                            <label class="col-md-1"></label>                            <label class="name col-md-3">{{ 'Direction' | translate }}:<span class="value">{{tunnel.direction}}</span></label>                            <label class="name col-md-3">{{ 'Source NE UserLabel' | translate }}:<span class="value">{{tunnel['source-ne-userlabel']}}</span></label>                            <label class="name col-md-3">{{ 'Destination NE UserLabel' | translate }}:<span class="value">{{tunnel['destination-ne-userlabel']}}</span></label>                        </div>                        <div class="row">                            <label class="col-md-1"></label>                            <label class="name col-md-3">{{ 'Source IP' | translate }}:<span class="value">{{tunnel['source-ip']}}</span></label>                            <label class="name col-md-3">{{ 'Destination IP' | translate }}:<span class="value">{{tunnel['destination-ip']}}</span></label>                        </div>                        <!--tunnel PROTECTION start-->                        <!-- 深绿 #006030   普绿    #00BB00  翠绿 #7AFEC6  普红     #FF0000           http://192.168.1.100:8181/restconf/operations/sal-netconf:protection-status -->                        <div class="row">                            <span class="col-md-1">                                <span class="yellow pull-right"></span>                            </span>                            <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>{{ 'Protection' | translate }}</label></span>                        </div>                        <!-- protection -->                        <div class="row">                            <label class="name col-md-1"></label>                            <label class="name col-md-3">{{ 'Linear protection type' | translate }}:<span class="value">{{tunnel['protection']['linear-protection-type']}}</span></label>                            <label class="name col-md-3">{{ 'Linear Protection Protocol' | translate }}:<span class="value">{{tunnel['protection']['linear-protection-protocol']}}</span></label>                            <label class="name col-md-3">{{ 'Revertive Mode' | translate }}:<span class="value">{{tunnel['protection']['revertive-mode']}}</span></label>                        </div>                        <div class="row">                            <label class="name col-md-1"></label>                            <label class="name col-md-3">WTR:<span class="value">{{tunnel['protection']['wtr']}}</span></label>                        </div>                        <!--eline PROTECTION end-->                        <!--   <button  id="btn-eline{{$index}}" ng-click="getprotectstate($index)"> 保护状态</button>-->                        <!-- <div class="row">                                <label class="col-md-1"></label>                                <label class="name col-md-3">{{ 'master' | translate }}:<span class="value">{{tunnel['master']}}</span></label>                                <label class="name col-md-3">{{ 'result' | translate }}:<span class="value">{{tunnel['result']}}</span></label>                                <label class="name col-md-3">{{ 'slave' | translate }}:<span class="value">{{tunnel['salve']}}</span></label>                            </div> -->                        <div class="row" ng-show="!tunnel['salve']">                            <label class="col-md-1"></label>                            <table>                                <tr>                                    <td>                                        <label class="name">&nbsp;&nbsp;&nbsp;&nbsp;{{ 'Ps Command Type' | translate }}:                                        </label>                                    </td>                                    <td>                                        <select class="col-md-12" ng-model="tunnel['ps-command-type']" ng-init="tunnel['ps-command-type']='noCmd'" style="font-size:12px">                                            <option value="forcedSwitchWorkToProtect">{{ 'forcedSwitchWorkToProtect' | translate }}                                            </option>                                            <option value="clear">{{ 'clear' | translate }}</option>                                        </select>                                    </td>                                    <td align="left">                                        &nbsp;&nbsp;                                        <button class="btn btn-warning btn-xs" ng-click="forcedProtect('tunnel',$index,tunnel.id)">Forced Protect                                        </button>                                    </td>                                </tr>                            </table>                        </div>                        <div ng-repeat="lsp in tunnel.lsp" class="container-fluid">                            <div class="row">                                <span class="col-md-1">                                    <span class="yellow pull-right"></span>                                </span>                                <h4 class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>LSP</label></h4>                                <span class="col-md-1">                                    <button class="tunnelButton iconOpen pull-right"                                            id="btn-lsp{{$parent.$index+''+$index}}"                                            ng-click="toggleExpand('lsp'+$parent.$index+$index,2)"></button>                                </span>                            </div>                            <div class="row">                                <label class="col-md-1 htext"></label>                                <!--<label class="name col-md-3">{{ 'LSP Role' | translate }}:<span class="value">{{lsp['lsp-role']}}</span></label>-->                                <label class="name col-md-3">{{ 'User Label' | translate }}:<span class="value">{{lsp['user-label']}}</span></label>                                <label class="name col-md-3">{{ 'Operate Status' | translate }}:<span class="value">{{tunnel['operate-status']}}</span></label>                            </div>                            <div class="collapse" id="lsp{{$parent.$index+''+$index}}">                                <div class="row">                                    <label class="col-md-1"></label>                                    <label class="name col-md-3">ID:<span class="value">{{lsp.id}}</span></label>                                    <label class="name col-md-3">{{ 'Name' | translate }}:<span class="value">{{lsp.name}}</span></label>                                </div>                                <div class="row">                                    <label class="col-md-1"></label>                                    <label class="name col-md-3">{{ 'Direction' | translate }}:<span class="value">{{lsp.direction}}</span></label>                                    <label class="name col-md-3">{{ 'LSP Type' | translate }}:<span class="value">{{lsp['lsp-type']}}</span></label>                                    <label class="name col-md-3">{{ 'Work Status' | translate }}:<span class="value">{{lsp['work-status']}}</span></label>                                </div>                                <div class="row">                                    <label class="col-md-1"></label>                                    <label class="name col-md-3">{{ 'Ingress NE UserLabel' | translate }}:<span class="value">{{lsp['ingress-ne-userlabel']}}</span></label>                                    <label class="name col-md-3">{{ 'Egress NE UserLabel' | translate }}:<span class="value">{{lsp['egress-ne-userlabel']}}</span></label>                                    <label class="name col-md-3">{{ 'Admin Status' | translate }}:<span class="value">{{lsp['admin-status']}}</span></label>                                </div>                                <div></div>                                <!--tunnel OAM start-->                                <div class="row">                                    <span class="col-md-1">                                        <span class="cyan pull-right"></span>                                    </span>                                    <span class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>OAM</label></span>                                    <span class="col-md-1"></span>                                </div>                                <div class="row">                                    <label class="name col-md-1"></label>                                    <label class="name col-md-3">CC Exp:<span class="value">{{lsp['oam']['cc-exp']}}</span></label>                                    <label class="name col-md-3">{{ 'CC Interval' | translate }}:<span class="value">{{lsp['oam']['cc-interval']}}</span></label>                                    <label class="name col-md-3">DM:<span class="value">{{lsp['oam']['dm-mode']}}</span></label>                                </div>                                <div class="row">                                    <label class="name col-md-1"></label>                                    <label class="name col-md-3"> LM:<span class="value">{{lsp['oam']['lm-mode']}}</span></label>                                    <label class="name col-md-3">                                        <button class="btn btn-warning btn-sm" ng-disabled="lsp['oam']['lm-mode'] != 'preactive' && lsp['oam']['lm-mode'] != 'on-demand'" ng-click="lmdmsend(tunnel.id,'lm-start')">lmstart                                        </button>                                        &nbsp;&nbsp;                                        <button class="btn btn-warning btn-sm" ng-disabled="lsp['oam']['lm-mode'] != 'preactive' && lsp['oam']['lm-mode'] != 'on-demand'" ng-click="lmdmsend(tunnel.id,'lm-stop')">lmstop                                        </button>                                    </label>                                    <label class="name col-md-3">                                        <button class="btn btn-warning btn-sm" ng-disabled="lsp['oam']['dm-mode'] != 'preactive' && lsp['oam']['dm-mode'] != 'on-demand'" ng-click="lmdmsend(tunnel.id,'dm-start')">dmstart                                        </button>                                        &nbsp;&nbsp;                                        <button class="btn btn-warning btn-sm" ng-disabled="lsp['oam']['dm-mode'] != 'preactive' && lsp['oam']['dm-mode'] != 'on-demand'" ng-click="lmdmsend(tunnel.id,'dm-stop')">dmstop                                        </button>                                    </label>                                </div>                                <!--tunnel OAM end-->                                <!--tunnel XC start-->                                <div ng-repeat="xc in lsp.route[0].xc" class="container-fluid">                                    <div class="row">                                        <span class="col-md-1">                                            <span class="cyan pull-right"></span>                                        </span>                                        <h4 class="htext col-md-9" style="border-bottom:solid 1px #000;"><label>XC</label></h4>                                        <span class="col-md-1">                                            <button class="tunnelButton iconOpen pull-right"                                                    id="btn-xcp{{$parent.$parent.$index+''+$parent.$index+''+$index}}"                                                    ng-click="toggleExpand('xcp'+$parent.$parent.$index+$parent.$index+$index,2)"></button>                                        </span>                                    </div>                                    <div class="row">                                        <label class="col-md-1 htext"></label>                                        <label class="name col-md-3">{{ 'NE UserLabel' | translate }}:<span class="value">{{xc['ne-userlabel']}}</span></label>                                        <label class="name col-md-3">{{ 'Ingress Port' | translate }}:<span class="value">{{xc['ingress-ltp-userlabel']}}</span></label>                                        <label class="name col-md-3">{{ 'Egress Port' | translate }}:<span class="value">{{xc['egress-ltp-userlabel']}}</span></label>                                    </div>                                    <div class="collapse" id="xcp{{$parent.$parent.$index+''+$parent.$index+''+$index}}">                                        <div class="row">                                            <label class="col-md-1"></label>                                            <label class="name col-md-3">{{ 'Backward In Label' | translate }}:<span class="value">{{xc['backward-in-label']}}</span></label>                                            <label class="name col-md-3">{{ 'Backward Out Label' | translate }}:<span class="value">{{xc['backward-out-label']}}</span></label>                                        </div>                                        <div class="row">                                            <label class="col-md-1"></label>                                            <label class="name col-md-3">{{ 'Forward In Label' | translate }}:<span class="value">{{xc['forward-in-label']}}</span></label>                                            <label class="name col-md-3">{{ 'Forward Out Label' | translate }}:<span class="value">{{xc['forward-out-label']}}</span></label>                                        </div>                                    </div>                                </div>                            </div>                        </div>                    </div>                    <!--tunnel lb start-->                    <div id="tunnelLb{{$index}}" ng-model="lb[$index]" class="collapse">                        <form class="form-group name=" name="lbform1">                            <div class="row">                                <span class="col-md-1">                                    <span class="yellow pull-right"></span>                                </span>                                <span class="col-md-10 htext" style="border-bottom:solid 1px #000;"><label style="color:black">LB</label></span>                            </div>                            <div class="row" style="margin-top:10px;">                                <label class="col-md-2 textLabel">{{ 'Source' | translate }}:</label>                                <select class="col-md-2 form-control selectDiv" ng-disabled="canEdit{{$index}}" ng-change="destinationChange($index,destination)" ng-model="lb[$index]['ne-id']" required>                                    <option value="{{tunnel.lsp[0]['ingress-ne-id']}}" selected="selected">{{ 'ingress' | translate }}                                    </option>                                    <option value="{{tunnel.lsp[0]['egress-ne-id']}}">{{ 'egress' | translate }}                                    </option>                                </select>                                <label class="col-md-2 textLabel">{{ 'Destination Type' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text" value="Mep" readonly="true" />                            </div>                            <div class="row">                                <label class="col-md-2 textLabel">{{ 'Number Of Packets' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="number" min="1" ng-disabled="canEdit{{$index}}" ng-blur="nopchange1=true" ng-focus="nopchange1=false" placeholder="1" ng-model="lb[$index].nbrOfPkt" value="5" ng-pattern="/^[0-9]*[1-9][0-9]*$/" name="nop1" required/>                                <label class="col-md-2 textLabel">{{ 'Packet Length' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="number" ng-disabled="canEdit{{$index}}" ng-blur="plchange1=true" ng-focus="plchange1=false" placeholder="100" min="100" ng-model="lb[$index].pktLength" value="100" ng-pattern="/^[0-9]*[1-9][0-9]*$/" name="pl1" required/>                            </div>                            <div class="row">                                <span class="col-md-1"></span>                                <span class="col-md-4 error" style="margin-left:4.5em" ng-show="lbform1.nop1.$invalid && nopchange1">{{ 'Number Of Packets:must be number and bigger than 0' | translate }}</span>                                <span class="col-md-1"></span>                                <span class="col-md-4 error" style="margin-left:1em" ng-show="lbform1.pl1.$invalid && plchange1">{{ 'Packet Length:must be number and bigger than 0' | translate }}</span>                            </div>                            <div class="row">                                <label class="col-md-2 textLabel">{{ 'Period' | translate }}:</label>                                <select class="col-md-2 form-control selectDiv" ng-disabled="canEdit{{$index}}" ng-model="lb[$index].period" required>                                    <option value="1 SEC" selected="selected">1 SEC</option>                                    <option value="10 SEC">10 SEC</option>                                    <option value="1 MIN">1 MIN</option>                                    <option value="10 MIN">10 MIN</option>                                </select>                                <label class="col-md-2 textLabel">{{ 'Test TLV' | translate }}:</label>                                <select class="col-md-2 form-control selectDiv" ng-disabled="canEdit{{$index}}" ng-change="tlvPresentChange(lb[$index].testTlvPresent)" ng-model="lb[$index].testTlvPresent" required>                                    <option value="true">{{ 'true' | translate }}</option>                                    <option value="false" selected="selected">{{ 'false' | translate }}</option>                                </select>                            </div>                            <div class="row">                                <label class="col-md-2 textLabel">{{ 'Test TLV Type' | translate }}:</label>                                <select class="col-md-2 form-control selectDiv" ng-disabled="canTLVEdit{{$index}}" ng-model="lb[$index].testTlvType">                                    <option value="Null signal - all zero without CRC-32" selected="selected">{{ 'Null signal - all zero without CRC-32' | translate }}                                    </option>                                    <option value="Null signal - all zero with CRC-32">{{ 'Null signal - all zero with CRC-32' | translate }}                                    </option>                                    <option value="PRBS 2power31-1 without CRC-32">{{ 'PRBS 2power31-1 without CRC-32' | translate }}                                    </option>                                    <option value="PRBS 2power31-1 with CRC-32">{{ 'PRBS 2power31-1 with CRC-32' | translate }}                                    </option>                                </select>                            </div>                            <div class="row">                                <label class="col-md-8"></label>                                <button class="btn btn-default col-md-1 col-md-offset-1" ng-click="startLb($index)" ng-disabled="startEnable{{$index}} || lbform1.$invalid ||(lb[$index].testTlvPresent=='true' && lb[$index].testTLVType=='')">                                    {{ 'Start' | translate }}                                </button>                                <label>&nbsp;&nbsp;&nbsp;&nbsp;</label>                                <button class="btn btn-default col-md-1" id="enabledEnd{{$index}}" ng-click="endLb($index)" ng-show="enabledEnd{{$index}}">{{ 'Stop' | translate }}                                </button>                            </div>                        </form>                        <div ng-show="showResult{{$index}}">                            <form class="form-group name=" lbform ">                            <div class="row ">                                <span class="col-md-1 "></span>                                <span class="col-md-9 htext " style="border-bottom:solid 1px #ddd; "><label style="color:black ">LB-Result</label></span>                            </div>                            <div class="row ">                                <span class="col-md-1 "></span>                                <label class="name col-md-3 " style="color:black ">lb-resultOK:</label>                                <label class="name col-md-2 "><span class="value ">{{lbresult[$index]['lb-resultOK']}}</span></label>                                <label class="name col-md-3 " style="color:black ">lb-nbrOfLbrIn:</label>                                <label class="name col-md-2 "><span class="value ">{{lbresult[$index]['lb-nbrOfLbrIn']}}</span></label>                            </div>                            <div class="row ">                                <span class="col-md-1 "></span>                                <label class="name col-md-3 " style="color:black ">lb-nbrOfLbrInOutOfOrder:</label>                                <label class="name col-md-2 "><span class="value ">{{lbresult[$index]['lb-nbrOfLbrInOutOfOrder']}}</span></label>                                <label class="name col-md-3 " style="color:black ">lb-nbrOfLbrBadMsdu:</label>                                <label class="name col-md-2 "><span class="value ">{{lbresult[$index]['lb-nbrOfLbrBadMsdu']}}</span></label>                            </div>                            <div class="row ">                                <label class="col-md-8 "></label>                                <button class="btn btn-default col-md-1 col-md-offset-1 " ng-click="DelLBResult($index) ">{{ 'Remove' | translate }}</button>                            </div>                            </form>                        </div>                    </div>                    <!-- tunnel lb end-->                </div>            </div>        </div>        <button class="btn btn-default pull-right " ng-click="createTunnel() " style="background-color:orange ">{{ 'add' |            translate }}        </button>    </div></div>